from django.contrib import admin
from django.urls import path, include
from . import views
from rest_framework.routers import DefaultRouter

urlpatterns = [

]
router = DefaultRouter()
router.register('classifications', views.ClassificationViewSet)
router.register('commoditys', views.CommodityViewSet)
router.register('cart', views.ShoppingCartViewSet)
router.register('order', views.OrderViewSet)
router.register('payments', views.PaymentViewSet)
urlpatterns += router.urls
